using System;
using System.Windows.Forms;

namespace M2Server
{
    public partial class TFrmAbout : Form
    {
        public static TFrmAbout FrmAbout = null;

        public TFrmAbout()
        {
            InitializeComponent();
        }

        public void Open()
        {
            LabProductName.Text = EngineVersion.g_sTitleName;
            LabVersion.Text = EngineVersion.g_sVersion;
            LabUpDateTime.Text = EngineVersion.g_sUpDateTime;
            LabProgram.Text = EngineVersion.g_sProgram;
            LabWebSite.Text = EngineVersion.g_sWebSite;
            LabBbsSite.Text = EngineVersion.g_sWebSite;
            this.ShowDialog();
        }

        public void ButtonOKClick(object sender, EventArgs e)
        {
            this.Close();
        }
    }
}